﻿using DimensionsHelper.Common.Contracts.Services;
using Microsoft.Win32;

namespace DimensionsHelper.Client.Services;

public class FolderPickerService : IFolderPickerService
{
    public string? PickFolderAsync()
    {
        OpenFolderDialog dialog = new();
        return dialog.ShowDialog() == true ? dialog.FolderName : null;
    }
}
